//
//  JAChannelView.h
//  网易新闻
//
//  Created by Arvin on 17/3/18.
//  Copyright © 2017年 Arvin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JAChannelModel.h"

//代理协议
@protocol JAChannelViewDelegate <NSObject>

//代理方法
//点击label,跳转到对应的频道列表
-(void)channelChanged:(NSInteger)index;

@end

@interface JAChannelView : UIScrollView

//代理属性
@property(nonatomic,weak)id<JAChannelViewDelegate> channelDelegate;

//频道的模型数组
@property (nonatomic,strong)NSArray *channelModelArr;

//当前选中的lable的index
@property (nonatomic,assign)NSInteger selectedIndex;

@end
